﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddorEditImgIndex.aspx.cs"
    Inherits="kim.AddorEditImgIndex" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>发布资讯</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <script src="../../kim/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../kim/scripts/jquery.form.js" type="text/javascript"></script>
    <script src="../../kim/scripts/function.js" type="text/javascript"></script>
    <link href="../../kim/style/css.css" rel="stylesheet" type="text/css" />
    <script src="../ckeditor/ckeditor.js" type="text/javascript"></script>
    <script src="../ckfinder/ckfinder.js" type="text/javascript"></script>
    <script src="../../kim/scripts/jpicker/jpicker-1.1.6.js" type="text/javascript"></script>
    
    <link href="../../kim/style/jPicker-1.1.6.min.css" rel="stylesheet" type="text/css" />
    <link href="../../kim/style/jPicker.css" rel="stylesheet" type="text/css" />
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt;
            <asp:Label ID="labtitle" runat="server" Text=""></asp:Label>
            &gt; 信息修改</b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <input type="hidden" id="txtReturnPath" runat="server" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height: 30px;">
            <th colspan="2" align="left">
                <asp:Label ID="labtitle2" runat="server"></asp:Label>
            </th>
        </tr>
        <tr style="height: 30px;">
            <td align="right">
                标&nbsp;&nbsp;&nbsp;题：
            </td>
            <td>
                <asp:TextBox ID="txtTitle" runat="server" CssClass="input required number" ignore="ignore"
                    datatype="*2-200" errormsg="请输入标题字符长度为2-200！"></asp:TextBox>
            </td>
        </tr>
         <tr style="height: 30px;">
            <td align="right">
                 序列值：
            </td>
            <td>
                <input class="input required number" type="text" id="txt_postion" datatype="n" nullmsg="请输入序列值！"
                    errormsg="请输入阿拉伯数字！" runat="server" value="0" ignore="ignore" />
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="right" valign="top">
                图&nbsp;&nbsp;&nbsp;片：
            </td>
            <td>
                <img id="Headpic" runat="server" src="" width="200" alt="" style="float: left" />
                <asp:HiddenField ID="txtImgUrl_max" runat="server" />
                <asp:HiddenField ID="txtImgUrl_min" runat="server" />
                <a href="javascript:;" class="files">
                    <input type="file" id="FileUpload" name="FileUpload" onchange="Upload('SingleFile', 'txtImgUrl_max', 'FileUpload');" /></a>
                <span class="uploading">正在上传，请稍候...</span>
            </td>
        </tr>
        <div id="img" runat="server" visible="false">
        
        <tr style="height: 30px;" id="Tr1" runat="server" visible="false">
            <td align="right" valign="top">
                后&nbsp;&nbsp;&nbsp;面：
            </td>
            <td>
                <img id="Headpic2" runat="server" src="" width="200" />
                &nbsp;&nbsp;&nbsp;
                <asp:FileUpload ID="FileUpload1" runat="server" />
                &nbsp;<asp:Button ID="btn_sc" runat="server" Text="上传" OnClick="htn_upload_Click" />
            </td>
        </tr>
        <tr style="height: 30px;" id="jj" runat="server">
            <td width="15%" align="right">
                简介：
            </td>
            <td width="85%">
                <textarea name="editor1" class="ckeditor" id="txtRemark" runat="server"></textarea>
                <script type="text/javascript">
                    window.onload = function () {
                        var editor = CKEDITOR.replace('editor1');
                        CKFinder.SetupCKEditor("editor1", '../ckfinder/');
                    };</script>
            </td>
        </tr>
        </div>
        <tr style="height: 30px;">
            <td align="right">
                链接：
            </td>
            <td>
                <input class="input required number" type="text" id="txtUrl" datatype="url" ignore="ignore"
                    errormsg="请输入正确的URL链接！" runat="server" />
            </td>
        </tr>
        <script type="text/javascript">
            $(document).ready(
    function () {
        $('#txtBrColour').jPicker();
    });
        </script>
        <tr style="height: 30px;" id="trBrColour" runat="server" visible="false">
            <td align="right">
                背景色：
            </td>
            <td>
                 
                <input id="txtBrColour" type="text" value="e2ddcf" runat="server" />
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp;
        <input name="重置" type="reset" class="submit" value="重置" />
        &nbsp;&nbsp;<asp:Label ID="lbmsg" runat="server" Text="" ForeColor="Red"></asp:Label>
    </div>
    </form>
    <script src="../Js/Validform_v5.3_min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $("#form1").Validform();
    </script>
</body>
</html>
